package com.zkrt.upms.common.component;

import com.zkrt.upms.service.ITokenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class TokenInitializationComponent {

    @Autowired
    private ITokenService tokenService;

    @PostConstruct
    public void init() {
        tokenService.initialization();
    }

}
